package gwtoefening.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;


/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class GWT_Oefening implements EntryPoint {
//Comments je weet toch!!!
	@Override
	public void onModuleLoad() {
		Label textLabel1 = new Label("Dit is de tekst van textLabel1");
		Label textLabel2 = new Label("Dit is de tekst van textLabel2");
		Label textLabel3 = new Label("Dit is de tekst van textLabel3");
		Label textLabel4 = new Label("Dit is de tekst van textLabel4");
		Label textLabel5 = new Label("Dit is de tekst van textLabel5");
		Label textLabel6 = new Label("Dit is de tekst van textLabel6");
		Label textLabel7 = new Label("Dit is de tekst van textLabel7");
		Label textLabel8 = new Label("Dit is de tekst van textLabel8");
		
		VerticalPanel myVerticalPanel = new VerticalPanel();
		myVerticalPanel.add(textLabel1);
		myVerticalPanel.add(textLabel2);
		myVerticalPanel.add(textLabel3);
		myVerticalPanel.add(textLabel4);
		
		HorizontalPanel myHorizontalPanel = new HorizontalPanel();
		myHorizontalPanel.add(textLabel5);
		myHorizontalPanel.add(textLabel6);
		myHorizontalPanel.add(textLabel7);
		myHorizontalPanel.add(textLabel8);
		
		RootPanel.get("main").add(myVerticalPanel);
		RootPanel.get("main").add(myHorizontalPanel);
	}
	
}
